#
# config settings for lazebnik algorithm
#

#---------------------------- ADMINISTRIVIA -----------------------------

# This file is part of libgist.
#
# libgist is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the
# Free Software Foundation; either version 2 of the License, or (at your
# option) any later version.
#
# libgist is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
# You should have received a copy of the GNU General Public License along
# with libgist; if not, write to the Free Software Foundation, Inc., 59
# Temple Place, Suite 330, Boston, MA 02111-1307 USA.

# REVISION HISTORY
#
# $HeadURL: http://libgist.googlecode.com/svn/branches/siagian_dev/conf/conf/lazebnik_conf.py $
# $Id: lazebnik_conf.py 52 2011-08-30 06:36:29Z libgist@gmail.com $

#------------------------------ IMPORTS --------------------------------

# Python standard library
import os

#------------------------- CLASS DEFINITION ----------------------------

class lazebnik_conf:
   """This class specifies various settings for the libgist
implementation of the lazebnik algorithm."""

   def __init__(self):
      """The constructor sets up data members to hold appropriate values
for different settings."""

      # Where will we store the vocabulary of prototypical SIFT
      # descriptors, the SVM classifier and other things we need to get
      # the lazebnik algorithm to work?
      data_root = os.environ['HOME'] + '/.gist/data/lazebnik/'


      self.vocabulary = data_root + 'vocabulary.dat'
      self.classifier = data_root + 'classifier.svm'

#------------------------------------------------------------------------

# So things look consistent in everyone's emacs...
# Local Variables:
# indent-tabs-mode: nil
# End:
